home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
User's Choice Windows CD
/
User's Choice Windows CD (CMS Software)(1993).iso
/
utility2
/
wclib.zip
/
WCLIBC.ZIP
/
WCLIB.RC
< prev
next >
Wrap
Text File
|
1993-04-27
|
5KB
|
87 lines
//===========================================================
// WCLIB.RC - Resource script
// Copyright (C) 1993 Douglas Boling
//===========================================================
#include "windows.h"
#include "WinCmd.h"
#include "WCLib.h"
WCLibIcon ICON WCLib.ico
//---------------------------------------------------------
// About Box Dialog template
//---------------------------------------------------------
AboutBox DIALOG 23, 20, 140, 102
CAPTION "About WCLib"
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
FONT 8, "Helv"
BEGIN
ICON "WCLibIcon", -1, 5, 5, 16, 16
CTEXT "WCLib ", IDD_PROGSTR, 40, 12, 60, 10
CTEXT "A WinCmd Function library",-1, 10, 24, 120, 10
CTEXT "Copyright \251 1993 Douglas Boling",
-1, 10, 36, 120, 10
CTEXT "First published in PC Magazine"
-1, 10, 48, 120, 10
CTEXT "May 25, 1993" -1, 10, 60, 120, 10
CTEXT "US Edition Only" -1, 10, 72, 120, 10
DEFPUSHBUTTON "OK", IDOK, 50, 84, 40, 12
END
//---------------------------------------------------------
// String table containing error messages
//---------------------------------------------------------
STRINGTABLE {
HELPSTART+0 , "==========================================="
HELPSTART+1 , "==========================================="
HELPSTART+2 , "WCLib Functions"
HELPSTART+3 , "Copyright 1993 Douglas Boling"
HELPSTART+4 , "==========================================="
HELPSTART+5 , "==========================================="
HELPSTART+6 , " "
HELPSTART+7 , "GetWindowHandle (title text) Returns the handle of the window"
HELPSTART+8 , "GetWindowText (window handle) Returns the title text for a window"
HELPSTART+9 , "GetWindowPos (window handle) Returns the x and y coordinates for a window"
HELPSTART+10, "GetWindowSize (window handle) Returns the size of a window"
HELPSTART+11, "GetWindowState (window handle) Returns the state (icon/restored/zoomed) of a window"
HELPSTART+12, "GetWindowEXE (window handle) Returns the name of the EXE that created the window"
HELPSTART+13, "GetWindow (window handle, relation) Returns the window handle of related window"
HELPSTART+14, " 0 = First Window 3 = Prev Window 6 = Parent"
HELPSTART+15, " 1 = Last Window 4 = Owner"
HELPSTART+16, " 2 = Next Window 5 = 1st Child"
HELPSTART+17, "SizeWindow (window handle, cx, cy) Resizes a window"
HELPSTART+18, "MoveWindow (window handle, x, y) Moves a window"
HELPSTART+19, "MinimizeWindow (window handle) Minimizes a window"
HELPSTART+20, "MaximizeWindow (window handle) Maximizes a window"
HELPSTART+21, "RestoreWindow (window handle) Restores a window"
HELPSTART+22, " "
HELPSTART+23, "SendMCIString (MCI String) Sends an MCI command string"
HELPSTART+24, "GetMCIErrorString (MCI Error number) Returns an error message for an MCI error number"
HELPSTART+25, " "
HELPSTART+26, "GetClipText (no parameters) Retrieves text from the clipboard"
HELPSTART+27, "SetClipText (data for clipboard) Sets the clipboard contents"
HELPSTART+28, "LoadIconFile (icon file name) Loads a icon and returns an icon handle"
HELPSTART+29, "SetIcon (window handle, icon handle) Sets a window's icon"
HELPSTART+30, "HighWord (number) Returns the upper 16 bits of a number"
HELPSTART+31, "LowWord (number) Returns the lower 16 bits of a number"
HELPSTART+32, "PostMessage (window handle, message number, word param, long param)"
HELPSTART+33, " Posts a message to a window"
HELPSTART+34, "SendMessage (window handle, message number, word param, long param)"
HELPSTART+35, " Sends a message to a window"
HELPSTART+36, " "
HELPSTART+37, "FileOpen (file name, open mode) Opens a file"
HELPSTART+38, "FileRead (file handle, bytes to read) Reads bytes from a file"
HELPSTART+39, "FileReadLine (file handle) Reads a line from a file"
HELPSTART+40, "FileWrite (file handle, data to write) Writes data to a file"
HELPSTART+41, "FileWriteLine (file handle, data to write) Writes a line to a file"
HELPSTART+42, "FileMovePtr (file handle, offset, relative) Moves a file read/write pointer"
HELPSTART+43, "FileClose (file handle) Closes a file"
HELPSTART+44, "FileExist (file name) Returns TRUE if a file exists"
HELPSTART+45, " "
HELPSTART+46, "GetDir (no parameters) Returns the current drive and directory"
HELPSTART+47, "SetDrive (Drive letter) Sets the default drive"
}